<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>话费收支</title>
     <link rel="stylesheet" href="/css/weui.min.css"/>
</head>
<body ontouchstart>
    <div class="weui-toptips weui-toptips_warn js_tooltips">错误提示</div>

    <div class="container" id="container"></div>
	<div class="page">
	    <div class="page__hd">
	      
	    </div>
	    <div class="page__bd page__bd_spacing">
	    	<div style="margin-left:5rem;margin-right:5rem;margin-top:20rem;">
	         	<div style="margin-top:1rem;">
					<a href="javascript:;" class="weui-btn weui-btn_primary" id="create">创建房间</a>
				</div>
				<div style="margin-top:1rem;">
		        	<a href="javascript:;" class="weui-btn weui-btn_warn" id="show">查看结果</a>
		        </div>
	        </div>
	    </div>
	    <div class="page__ft">
	    </div>
</div>
</body>
<script type="text/javascript" src="/js/zepto.min.js"></script>
<script>
$("#create").on("click",function(){
	$.getJSON('/user/createRoom',function(data){
		alert(JSON.stringify(data))
	});
});
$("#show").on("click",function(){
	
});
</script>
</html>